#ifndef PAINTER_H
#define	PAINTER_H

#include "Dot.h"
#include "Color.h"

#include <fstream>

class Painter {
public:
    Painter(const char * filename, unsigned set_width, unsigned set_height);
    void drawLine(Dot sourse, Dot dest, Color color);
    void drawCircle(Dot center, unsigned radius, Color border_color);
    void finish();
private:
    std::ofstream stream;
    unsigned width;
    unsigned height;
    
};

#endif	/* PAINTER_H */

